#!/usr/bin/env python

import rospy
from geometry_msgs.msg import Twist

def vel_publisher():
	rospy.init_node('vel_publisher', anonymous=True)

	vel_pub = rospy.Publisher('/robot_1/cmd_vel', Twist, queue_size=10)

	rate = rospy.Rate(10)

	while not rospy.is_shutdown():
		vel_msg = Twist()
		vel_msg.linear.x = 0.3
		

		vel_pub.publish(vel_msg)
		rospy.loginfo("pub velocity [%0.2f m/s]",vel_msg.linear.x)

		rate.sleep()

if __name__ == '__main__':
	try:
		vel_publisher()
	except rospy.ROSInterruptException:
		pass
